package com.cdut.logistics.service.interf.system;

import java.util.Date;
import java.util.List;

import com.cdut.logistics.model.entity.system.Character;
/**
 * 
 * @ClassName: CharacService  
 * @Description: TODO(CharacService的接口类)  
 * @author lxh
 * @date 2018年1月28日 下午2:33:48
 */
public interface CharacService {
	/**
	 * 
	 * @Title: UpdateCharac  
	 * @Description: TODO(修改角色信息方法接口)
	 * @author lxh
	 * @param id
	 * @param name
	 * @param authority_id
	 * @param is_use
	 * @param active
	 * @return
	 * @throws
	 */
	boolean updateCharac(String id,String name, String authority_id,
			String is_use,Date updated);
	/**
	 * 
	 * @Title: DeleteCharac  
	 * @Description: TODO(逻辑删除角色方法接口)
	 * @author lxh
	 * @param id
	 * @return
	 * @throws
	 */
	boolean deleteCharac(String id);
	/**
	 * 
	 * @Title: QueryCharacInfo  
	 * @Description: TODO(逻辑删除角色方法接口)
	 * @author lxh
	 * @param id
	 * @return
	 * @throws
	 */
	Character queryCharacInfoById(String id);
	/**
	 * 
	 * @Title: addCharac  
	 * @Description: TODO(查询角色信息接口)
	 * @author lxh
	 * @param name
	 * @param authority_id
	 * @param is_use
	 * @param active
	 * @return
	 * @throws
	 */
	boolean addCharac(String name, String authority_id, String is_use,
			String active,Date created);
	/**
	 * 
	 * @Title: QueryAllCharac  
	 * @Description: TODO(查询所有角色信息)
	 * @author lxh
	 * @return
	 * @throws
	 */
	List<Character> queryAllCharac();
	
	Character queryCharacInfoByName(String name);
	
	

}
